package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class UpdatePrivilegeColumnListAction implements Action {

    private int beginIndex;
    private int endIndex;
    private IdentifierChain privilegeColumnList;

    public UpdatePrivilegeColumnListAction(int beginIndex,
                                           int endIndex,
                                           IdentifierChain privilegeColumnList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.privilegeColumnList = privilegeColumnList;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public IdentifierChain getPrivilegeColumnList() {
        return privilegeColumnList;
    }

}
